import * as REQUEST from './index';
const key = 'item';

export function list(query) {
    return REQUEST.postRequest(`/api/${key}/listData`, query)
}

export function detail(query) {
    return REQUEST.getRequest(`/api/${key}/`, query);
}